﻿using System;

namespace MingYuanYun.StructuredLog.Abstractions
{
    public interface IMyLogger 
    { 
        void InnerError(Exception ex);

        void Info(string description, string loggerName = "-");

        void Info(string description, int duration, string loggerName = "-"); 

        void Info(object descriptionObject, string loggerName = "-");

        void Error(Exception ex, string loggerName = "-");

        void Error(string description, Exception ex, string loggerName = "-");
          
        void Error(string description, Exception ex, int duration, string loggerName = "-");

        void Error(object descriptionObject, Exception ex, string loggerName = "-");
    }
}
